package logic;

import java.util.Random;

public class Dice {
	
	Color color;
	Random rand;

	/**
	 * @param color
	 */
	public Dice(Color color) {
		this.color = color;
		rand = new Random(System.nanoTime());
	}
	
	public int roll(){
		return (rand.nextInt(6) + 1);
	}

}
